﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS.Infrastructure.Attr;
using WCS.Infrastructure.EFCore;
using WCS.Service.EFCore;

namespace WCS.Infrastructure.IOC
{
    [Provider, Inject]
    public class UserIOC
    {
        public readonly SysUserEFCore _sysUserEFCore;
        public readonly LoginLogEFCore _loginLogEFCore;
        public readonly SysRoleEFCore _sysRoleEFCore;
        public readonly SysUserRoleEFCore _sysUserRoleEFCore;
        public readonly SysPermissionEFCore _sysPermissionEFCore;
        public readonly SysRolePermissionEFCore _sysRolePermissionEFCore;
        public readonly MerchantEFCore _merchantEFCore;
        public readonly StoreEFCore _storeEFCore;
        public readonly PaymentCodeEFCore _paymentCodeEFCore;
        public readonly SysUserMiniProgramEFCore _sysUserMiniProgramEFCore;
        public UserIOC(SysUserEFCore sysUserEFCore, LoginLogEFCore loginLogEFCore, SysRoleEFCore sysRoleEFCore, SysUserRoleEFCore sysUserRoleEFCore
            , SysPermissionEFCore sysPermissionEFCore, SysRolePermissionEFCore sysRolePermissionEFCore
            , MerchantEFCore merchantEFCore, StoreEFCore storeEFCore, PaymentCodeEFCore paymentCodeEFCore, SysUserMiniProgramEFCore sysUserMiniProgramEFCore)
        {

            _sysUserEFCore = sysUserEFCore;
            _loginLogEFCore = loginLogEFCore;
            _sysRoleEFCore = sysRoleEFCore;
            _sysUserRoleEFCore = sysUserRoleEFCore;
            _sysPermissionEFCore = sysPermissionEFCore;
            _sysRolePermissionEFCore = sysRolePermissionEFCore;
            _merchantEFCore = merchantEFCore;
            _storeEFCore = storeEFCore;
            _paymentCodeEFCore = paymentCodeEFCore;
            _sysUserMiniProgramEFCore = sysUserMiniProgramEFCore;

        }
    }
}
